package com.shortvedio.base.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

/**
 * 分页查询
 */
@Data
@ToString
public class PageParams {
    @ApiModelProperty("分页页码")
    private Long pageNo = 1L;
    private Long pageSize = 30L;  //每页显示记录数

    public PageParams() {
    }

    public PageParams(Long pageNo, Long pageSize) {
        this.pageNo = pageNo;
        this.pageSize = pageSize;
    }
}
